{include file="include:header" /}
<body class="fixed-sidebar full-height-layout gray-bg" >
    <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-sm-4">
            <h2>修改账号密码</h2>
            <!-- 导航部分 -->
            <ol class="breadcrumb">
                <li><a href="{:url('admin/home')}">主页</a></li>
                <li><a href="{:url('admin/Account/index')}">账户管理</a></li>
                <li><strong>修改账号密码</strong></li>
            </ol>
        </div>
        <div class="col-sm-8">
            <div class="title-action">
                <!-- 链接部分 -->
                <a href="{:url('admin/Account/index')}" class="btn btn-primary">账户列表</a>
            </div>
        </div>
    </div>
    <!-- 权限设置 -->
    <div class="wrapper wrapper-content">
        <form method="get" class="valid-form form-horizontal  changepassword-save">
            <div class="panel panel-default">
                <div class="panel-heading">修改密码</div>
                <div class="panel-body">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">角色：</label>
                        <div class="col-sm-4 form-inline">
                            <p class="form-control-static">
                            {$data['r_username']?$data['r_username']:'暂无角色'}
                            </p>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">账户</label>
                        <div class="col-sm-4 form-inline">
                            <p class="form-control-static">{$data['a_username']}</p>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">新密码</label>
                        <div class="col-sm-4">
                            <input type="password" value="" name="userpassword" class="form-control"  type="*6-16" nullmsg="请设置密码！" errormsg="密码范围在6~16位之间！">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">确认密码</label>
                        <div class="col-sm-4">
                            <input type="password" value="" name="userpassword2" tip="test" class="form-control"  type="*" recheck="userpassword" nullmsg="请再输入一次密码！" errormsg="您两次输入的账号密码不一致！">
                        </div>
                    </div>
                    <input type="hidden" name="admin_id" value="{$data['admin_id']}"/>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-6">
                            <a href="javascript:;" class="btn btn-danger submit">确认提交</a>&nbsp;&nbsp;
                            <a class="mg-left-10 btn btn-white" href="/admin/author" alt="取消修改">取消</a>
                        </div>
                    </div>
                </div>
            </div>
            
        </form>
    </div>


</body>
</html>
{include file="include:js" /}